package cn.bon.schedule.service;

import cn.bon.schedule.api.pojo.dto.WorkOrderDTO;
import cn.bon.schedule.api.pojo.vo.WorkOrderVO;
import cn.bon.schedule.api.pojo.po.RulesWorkOrder;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 班次管理 服务类
 * </p>
 *
 * @author LuoChao
 * @since 2023-12-14
 */
public interface RulesWorkOrderService extends IService<RulesWorkOrder> {

    void add(WorkOrderDTO dto);

    Page<RulesWorkOrder> doPage(Page<RulesWorkOrder> page, String name, String workType);

    WorkOrderVO getDetail(Long id);

    void edit(Long id, WorkOrderDTO dto);

    void detele(Long id);
}
